home *** CD-ROM | disk | FTP | other *** search
/ The Arsenal Files 8 / The Arsenal Files Collection #8 (Arsenal Computer) (1996).ISO / prg_casm / snipview.zip / OPSYS.H < prev    next >
C/C++ Source or Header  |  1996-07-11  |  689b  |  27 lines

  1. /*
  2.  *  OPSYS.H  Operating environment detection and time-slicing support for
  3.  *           MS-DOS applications.
  4.  *
  5.  *  Written in June 1996 by Andrew Clarke and released to the public domain.
  6.  */
  7.  
  8. #ifndef __OPSYS_H__
  9. #define __OPSYS_H__
  10.  
  11. #define OS_MSDOS     0  /* MS-DOS */
  12. #define OS_OS2       1  /* IBM OS/2 */
  13. #define OS_WINDOWS   2  /* Microsoft Windows */
  14. #define OS_DESQVIEW  3  /* Quarterdeck DESQview */
  15. #define OS_DBLDOS    4  /* DoubleDOS */
  16. #define OS_NETWARE   5  /* Novell Netware */
  17.  
  18. extern int opsys_id;
  19.  
  20. int opsysDetect(void);
  21. void opsysTimeSlice(void);
  22. #ifndef __EMX__
  23. unsigned short opsysGetVideoSeg(unsigned short assumed_base);
  24. #endif
  25.  
  26. #endif
  27.